lcWndEmulator Home

Performs pen movement emulation. To see how it works - run LiteCAD.exe program and select menu "Tools / Pen emulation"

 BOOL lcWndEmulator (
   HANDLE hLcWnd,
   int Mode
 );

Parameters
hLcWnd
  Handle to a graphics window.
Mode
  Can be one of the following values:

Value Mode
LC_EMUL_START Start pen movement emulation
LC_EMUL_STOP Stop emulation
LC_EMUL_PARAMS Open dialog "Emulator parameters"


Return Value

  If the function succeeds, the return value is nonzero (TRUE).

Remarks

  For performance reason, this feature has limitation for a number of output lines. Currently it is 150'000 . Excessive lines of a drawing will not be drawn at this mode.